package com.company.project.dao;

import com.company.project.core.Mapper;
import com.company.project.model.League;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface LeagueMapper extends Mapper<League> {
    /**
     * 查询期刊加盟
     * @return
     */
    List<League> selectLeague();

    /**
     * 修改期刊加盟内容
     */
    Boolean updateleague(League league);

    int insertLeague(League league);
}